from PyQt5 import QtWidgets, QtGui, QtCore
from PyQt5 import Qt
from project.test.maxwindow import *
import sys


class Example(QtWidgets.QMainWindow, Ui_Form):
    def __init__(self, parent=None):
        super(Example, self).__init__(parent)

        self.setupUi(self)
        # 最大化窗口
        self.setWindowState(QtCore.Qt.WindowMaximized)
        # self.showMaximized()


if __name__=="__main__":
    app = QtWidgets.QApplication(sys.argv)
    example = Example()
    example.show()
    sys.exit(app.exec_())